package com.itheima.ydd.service;

import com.itheima.ydd.common.R;
import com.itheima.ydd.common.ResultData;
import com.itheima.ydd.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.ydd.entity.SysUserInfo;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author author
 * @since 2022-05-22
 */
public interface ISysUserService extends IService<SysUser> {

    R profile(Long userId);
    public ResultData getList(String login_name, String status, String phone, Integer page, Integer limit);

    ResultData deleteById(String id);
    ResultData getDetail(String id);
    public ResultData add(SysUserInfo sysUserInfo);

    ResultData update(SysUserInfo sysUserInfo);
}

